﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Microsoft.SharePoint.WebControls;

namespace SurveyListsAdministration.ControlTemplates.SurveyListsAdministration
{
    public partial class SurveyJavaScript : UserControl
    {
        protected override void CreateChildControls()
        {
            base.CreateChildControls();
            string srcScript = "/_layouts/SurveyListsAdministration/CustomActionScript.js";
            this.Controls.Add(new ScriptLink() { Name = srcScript, Language = "javascript", Localizable = false });    
        }
    }
}
